package com.tianji.learning.utils;

/**
 * @author Administrator
 * @version 1.0
 * @description: TODO
 * @date 2024/7/1 17:33
 */
public class TableInfoContext {
    private static final ThreadLocal<String> TL = new ThreadLocal<>();

    public static void setInfo(String info){
        TL.set(info);
    }

    public static String getInfo(){
        return TL.get();
    }

    public static void remove(){
        TL.remove();
    }
}

